﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000F47 RID: 3911
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueMagicLeaveCsReq : IMessage<RogueMagicLeaveCsReq>, IMessage, IEquatable<RogueMagicLeaveCsReq>, IDeepCloneable<RogueMagicLeaveCsReq>, IBufferMessage
	{
		// Token: 0x170031B1 RID: 12721
		// (get) Token: 0x0600AF78 RID: 44920 RVA: 0x001DADF3 File Offset: 0x001D8FF3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueMagicLeaveCsReq> Parser
		{
			get
			{
				return RogueMagicLeaveCsReq._parser;
			}
		}

		// Token: 0x170031B2 RID: 12722
		// (get) Token: 0x0600AF79 RID: 44921 RVA: 0x001DADFA File Offset: 0x001D8FFA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueMagicLeaveCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170031B3 RID: 12723
		// (get) Token: 0x0600AF7A RID: 44922 RVA: 0x001DAE0C File Offset: 0x001D900C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueMagicLeaveCsReq.Descriptor;
			}
		}

		// Token: 0x0600AF7B RID: 44923 RVA: 0x001DAE13 File Offset: 0x001D9013
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicLeaveCsReq()
		{
		}

		// Token: 0x0600AF7C RID: 44924 RVA: 0x001DAE1B File Offset: 0x001D901B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicLeaveCsReq(RogueMagicLeaveCsReq other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600AF7D RID: 44925 RVA: 0x001DAE34 File Offset: 0x001D9034
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicLeaveCsReq Clone()
		{
			return new RogueMagicLeaveCsReq(this);
		}

		// Token: 0x0600AF7E RID: 44926 RVA: 0x001DAE3C File Offset: 0x001D903C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueMagicLeaveCsReq);
		}

		// Token: 0x0600AF7F RID: 44927 RVA: 0x001DAE4A File Offset: 0x001D904A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueMagicLeaveCsReq other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x0600AF80 RID: 44928 RVA: 0x001DAE68 File Offset: 0x001D9068
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600AF81 RID: 44929 RVA: 0x001DAE8E File Offset: 0x001D908E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600AF82 RID: 44930 RVA: 0x001DAE96 File Offset: 0x001D9096
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600AF83 RID: 44931 RVA: 0x001DAE9F File Offset: 0x001D909F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600AF84 RID: 44932 RVA: 0x001DAEB8 File Offset: 0x001D90B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600AF85 RID: 44933 RVA: 0x001DAEDE File Offset: 0x001D90DE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueMagicLeaveCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600AF86 RID: 44934 RVA: 0x001DAEFB File Offset: 0x001D90FB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600AF87 RID: 44935 RVA: 0x001DAF04 File Offset: 0x001D9104
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04004727 RID: 18215
		private static readonly MessageParser<RogueMagicLeaveCsReq> _parser = new MessageParser<RogueMagicLeaveCsReq>(() => new RogueMagicLeaveCsReq());

		// Token: 0x04004728 RID: 18216
		private UnknownFieldSet _unknownFields;
	}
}
